{extend name="_public/main" /}
{block name="seo"}
<title>{$article.title} - {$article.category.title|default="未分类文章"} -{:get_site_config('site_name')}</title>
{/block}

{block name="main-area"}

<div class="post">

    <span>{$article.create_time|date='Y-m-d H:i'}</span>
    <span>热度 {$article.click} ℃</span>
    {volist name="article.tags" id="tag"}
    <a href="{:url('blog/tags/index',['id'=>$tag.id])}" class="badge badge-info">{$tag.tag}</a>
    {/volist}
    <div class="post-title">
        <h1>{$article.title}</h1>
    </div>

    {notempty name="article.thumb"}
    <div class="article-thumb"><img src="{$article.thumb}" alt="{$article.title}" /></div>
    {/notempty}

    <div class="post-article">{$article.content|raw}</div>

</div>

{/block}
